
project(OfmsMathTest)

find_package(Bullet COMPONENTS LinearMath REQUIRED)
include_directories( ${Bullet_INCLUDE_DIRS})
include_directories( ${CMAKE_SOURCE_DIR}/src)
link_directories( ${Bullet_LIBRARY_DIRS})

add_executable( OfmsMathTest 
	OfmsMathTest.cpp
	${CMAKE_SOURCE_DIR}/src/OfmsMath.h
	${CMAKE_SOURCE_DIR}/src/OfmsMath.cpp
	${CMAKE_SOURCE_DIR}/src/Testing.h
)

target_link_libraries( OfmsMathTest ${Bullet_LIBRARIES} )
add_test( OfmsMathTest ${EXECUTABLE_OUTPUT_PATH}/OfmsMathTest )

